<!DOCTYPE html>
<html>

	<head>
		<meta charset="utf-8">
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<title></title>
		<script src="../js/mui.min.js"></script>
		<link href="../css/mui.min.css" rel="stylesheet" />
		<script type="text/javascript" src="../js/Common.js"></script>
		<script type="text/javascript" src="../js/h.js"></script>
		<script type="text/javascript" charset="utf-8">
			mui.init();
		</script>

		<script>
			mui.init();
			var embed = null;
			// H5 plus事件处理
			function plusReady() {
				if(mui.os.android)
					embed = plus.webview.create(getUrlParam('url'), "", {
						top: "48px",
						bottom: "0px"
					});
				else
					embed = plus.webview.create(getUrlParam('url'), "", {
						top: "0px",
						bottom: "0px"
					});
				/*embed.setPullToRefresh({
					support: true,
					height: "50px",
					range: "200px",
					contentdown: {
						caption: "下拉可以刷新"
					},
					contentover: {
						caption: "释放立即刷新"
					},
					contentrefresh: {
						caption: "正在刷新..."
					}
				}, function() {
					setTimeout(function() {
						embed.reload();
						embed.endPullToRefresh();
					}, 1500);
				});*/
				plus.webview.currentWebview().append(embed);

			}
			if(window.plus) {
				plusReady();
			} else {
				document.addEventListener("plusready", plusReady, false);
			}

			function subBack() {
				plus.nativeUI.toast('返回');
				mui.back();
			}
		</script>
		</body>

</html>